@echo off 
if not exist "PUA_Bongo_Cat" (
    mkdir "PUA_Bongo_Cat"
    echo 已创建 PUA_Bongo_Cat 文件夹   
) else (
    echo PUA_Bongo_Cat 文件夹已存在   
)

pyinstaller --onefile --windowed --icon=icon128.ico --add-data "icon128.ico;." PUA_Bongo_Cat.py

copy ".\icon128.ico" ".\PUA_Bongo_Cat\icon128.ico"
copy ".\dist\PUA_Bongo_Cat.exe" ".\PUA_Bongo_Cat\PUA_Bongo_Cat.exe"